<template>
  <div style="margin-top: 50px">
    <el-carousel :interval="4000" type="card" height="500px">
      <el-carousel-item>
        <el-image
          src="http://139.196.243.68/app/img/lxc/carousel_1.png"
        ></el-image>
      </el-carousel-item>
      <el-carousel-item>
        <el-image
          src="http://139.196.243.68/app/img/lxc/carousel_2.png"
        ></el-image>
      </el-carousel-item>
      <el-carousel-item>
        <el-image
          src="http://139.196.243.68/app/img/lxc/carousel_3.png"
        ></el-image>
      </el-carousel-item>
      <el-carousel-item>
        <el-image
          src="http://139.196.243.68/app/img/lxc/carousel_4.png"
        ></el-image>
      </el-carousel-item>
      <el-carousel-item>
        <el-image
          src="http://139.196.243.68/app/img/lxc/carousel_5.png"
        ></el-image>
      </el-carousel-item>
    </el-carousel>
     
      
    <h1 style="text-align:center;font-size:100px;color:#670200">
         面向案例学习的法务教学课堂平台
    </h1>
    <el-row :gutter="20">
      <el-col :span="8">
        <div @click="login()">
          <el-card> <el-image src="http://139.196.243.68/app/img/lxc/1.png"></el-image> </el-card>
        </div>
      </el-col>
      <el-col :span="8">
        <div @click="login()">
          <el-card> <el-image src="http://139.196.243.68/app/img/lxc/2.png"></el-image> </el-card></div
      ></el-col>

          <el-col :span="8">
        <div @click="login()">
          <el-card> <el-image src="http://139.196.243.68/app/img/lxc/3.png"></el-image> </el-card>
        </div>
      </el-col>
    </el-row>
    <el-row :gutter="20">
  
      <el-col :span="8">
        <div @click="login()">
          <el-card> <el-image src="http://139.196.243.68/app/img/lxc/4.png"></el-image> </el-card></div
      ></el-col>
       <el-col :span="8">
        <div @click="login()">
          <el-card> <el-image src="http://139.196.243.68/app/img/lxc/5.png"></el-image> </el-card>
        </div>
      </el-col>
      <el-col :span="8">
        <div @click="login()">
          <el-card> <el-image src="http://139.196.243.68/app/img/lxc/6.png"></el-image> </el-card></div
      ></el-col>
    </el-row>

  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>
<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}

.el-row {
  margin-bottom: 20px;
}
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.bg-purple {
  background: #d3dce6;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
</style>

<script>
export default {
  data() {
    return {
      src:
        "http://139.196.243.68/app/img/lxc/%E4%BA%8B%E4%BB%B6%E6%8A%BD%E5%8F%96.png",
    };
  },
  methods: {
    login() {
      this.$router.push({ name: "Login" }); //路由跳转
    },
  },
};
</script>
